/**
 * 
 */
package org.jenkon.commons.reflect.filter;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

import org.jenkon.commons.lang.filter.Filter;

/**
 * @author Jens Konopka
 * 
 */
public class IsStaticFieldFilter implements Filter<Field> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8117479725213196335L;

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.jenkon.commons.filter.Filter#accept(java.lang.Object)
	 */
	@Override
	public boolean accept(final Field field) {
		return Modifier.isStatic(field.getModifiers());
	}

}
